home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Science / Asymptote Demo / Examples / Demos / 6) Three Plot / Demo6 next >
Encoding:
Text File  |  1994-05-07  |  832 b   |  53 lines  |  [TEXT/DWat]

  1. datafile Measurements
  2. datalines 2
  3.  
  4. graphframe 1 4 7 10
  5. fullscreen yes
  6.  
  7. readcolumn x 2
  8. rpn <x log >x
  9. rpn <x >y
  10. graphlimits
  11. binxy 12 count xleft 0.5 - xright 0.5 +
  12. graphlimits
  13. plothistogram 0
  14. graphticks -1 0 0 0
  15. drawframe
  16. drawxlabel Log Area (cm\u2)
  17.  
  18. graphframe gleft 3.5 + gright 3.5 + gbottom gtop
  19. showgraph
  20. readcolumn x 3
  21. rpn <x log >x
  22. rpn <x >y
  23. graphlimits
  24. binxy 12 count xleft 0.5 - xright 0.5 +
  25. graphlimits
  26. plothistogram 0
  27. graphticks -1 0 0 0
  28. drawframe
  29. drawxlabel Log Mass (gm)
  30.  
  31. graphframe 1 gright 1 gbottom 1 -
  32. showgraph
  33. readcolumn x 2
  34. readcolumn y 3
  35. closewindow \f
  36. rpn <x log >x
  37. rpn <y log >y
  38. graphlimits
  39. graphticks -1 0 -1 0
  40. pointsymbol 4 cross
  41. plotpoints
  42. powerlawfit xleft xright
  43. plotline
  44. drawframe
  45. drawxlabel Log Mass (gm)
  46. drawylabel Log Area (cm\u2)
  47. TL
  48. scale 3
  49. digits 5
  50. drawlabel belowright Mass \sµ Area\\u\a1
  51.  
  52.  
  53. showpage